package com.cpd.blog.common.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @Author: Copydown
 * @Date: 2022/04/28/16:56
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Constant {

    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_TIME_FORMAT_MILLISECOND = "yyyy-MM-dd HH:mm:ss.SSS";
    public static final String DATE_FORMAT = "yyyy-MM-dd";
    public static final String TIME_ZONE = "GMT+8";
    /**
     * 文章权重
     */
    public static final int ARTICLE_COMMON = 0;
    public static final int ARTICLE_NEW = 1;
    public static final int ARTICLE_TOP = 2;
    /**
     * 数字
     */
    public static final int ZERO_INT = 0;
    public static final long ZERO_LONG = 0;
    public static final long ONE_LONG = 1;
    public static final int ONE_INT = 1;
    public static final int FOUR_INT = 4;
    /**
     * 文件后缀
     */
    public static final String PNG = ".png";
    public static final String JPG = ".jpg";

    public static final boolean BOOLEAN_TRUE = true;
    public static final boolean BOOLEAN_FALSE = false;

    public static final String LOG_FORMAT = "=========  {},{}; logPath: {}  =========";
    public static final String LOG_PATH = "; logPath: {}";

    public static final String DEFAULT_USER_NAME = "用户";

    public static final Integer USER_STATUS_DEFAULT = 0;
    public static final Integer USER_STATUS_DISABLE = 1;

}
